package com.cristina.attention.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author superman
 * @Date 2021/11/25 22:15
 *
 * 开启服务器注册发现
 * @EnableDiscoveryClient / (配置 nacos 的注册中心地址)
 **/
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class AttentionGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(AttentionGatewayApplication.class, args);
    }
}
